# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class InstanceCreateRecord(object):

    def __init__(self, region=None, az=None, pin=None, instanceType=None, cpu=None, memory=None, imageId=None, imageName=None, burstMode=None, dataDisks=None, vpcId=None, vpcName=None, subnetId=None, subnetName=None, securityGroups=None):
        """
        :param region: (Optional) 地域Id
        :param az: (Optional) 可用区
        :param pin: (Optional) 用户pin
        :param instanceType: (Optional) 实例规格
        :param cpu: (Optional) vCPU个数
        :param memory: (Optional) 内存大小
        :param imageId: (Optional) 镜像Id
        :param imageName: (Optional) 镜像名字
        :param burstMode: (Optional) 突发实例模式
        :param dataDisks: (Optional) 云盘信息
        :param vpcId: (Optional) vpc id
        :param vpcName: (Optional) vpc 名字
        :param subnetId: (Optional) 子网id
        :param subnetName: (Optional) 子网名字
        :param securityGroups: (Optional) 安全组列表
        """

        self.region = region
        self.az = az
        self.pin = pin
        self.instanceType = instanceType
        self.cpu = cpu
        self.memory = memory
        self.imageId = imageId
        self.imageName = imageName
        self.burstMode = burstMode
        self.dataDisks = dataDisks
        self.vpcId = vpcId
        self.vpcName = vpcName
        self.subnetId = subnetId
        self.subnetName = subnetName
        self.securityGroups = securityGroups
